|
|
|
|
|
|
|
The 90s have also brought about the widespread use of laptop PCs. More and more workers are performing their daily chores off-line. These individuals want access to data contained on WANs, but are unable to attach economically from cars, airplanes, hotels, and client offices. |
|
|
|
|
|
|
|
|
The purpose of this chapter is to show you how to facilitate the environment in which we now work on a daily basis. You learn about creating databases that can be copied to other sites. You then learn how to coordinate the changes made to these databases among users at different sites. You learn about database replication. |
|
|
|
|
|
|
|
|
What Is Database Replication? |
|
|
|
|
|
|
|
|
When we refer to database replication, we are talking about the act of creating copies of a database and coordinating the changes made to the data among all copies. The original database is referred to as the Design Master. Each copy of the database is referred to as a replica. The combination of the Design Master and all the replicas of the Design Master is referred to as the replica set. The act of creating the components of the replica set, and keeping the data contained in it synchronized, is referred to as database replication. |
|
|
|
|
|
|
|
|
By performing database replication, you permit users to work on the data that is most convenient for them to use. This is important in large organizations with offices in multiple sites, or among organizations with a significant population of remote or mobile users. |
|
|
|
|
|
|
|
|
The Microsoft Jet engine allows for several ways to perform database replication. This includes the use of the Windows 95 Briefcase and the Microsoft Access Replication Manager, and through programming using Data Access Objects (DAO). The lesson today focuses on the use of DAO to perform replication. |
|
|
|
|
|
|
|
|
Why Use Database Replication? |
|
|
|
|
|
|
|
|
There are numerous reasons why you may want to consider using database replication in your Visual Basic 5 database application. If you work in a large organization, you may need to deploy your application over a wide area network environment. This typically requires you to keep the main copy of the database, the Design Master, at the central office, and create replica sets across all the other offices. |
|
|
|
|
|
|
|
|
You may also need to build an application for use by remote users. An example of this might be a customer contact management system for your sales staff. Each salesperson could have a replica of the Design Master to review and update while visiting clients. All the salespeople could then update all the changes they make to the Design Master. In turn, each salesperson could receive all changes made by all other members of the sales force to the Design Master. This is referred to as synchronizing the data. |
|
|
|
|
|